package cn.cs.mapper;

import cn.cs.pojo.CapitalPoolDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface CapitalPoolDetailsMapper {

    public CapitalPoolDetails getCapitalPoolDetailsById(@Param(value = "id") String id) throws Exception;

    public List<CapitalPoolDetails> getCapitalPoolDetailsListByMap(Map<String, Object> param) throws Exception;

    public Integer getCapitalPoolDetailsCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertCapitalPoolDetails(CapitalPoolDetails capitalPoolDetails) throws Exception;

    public Integer updateCapitalPoolDetails(CapitalPoolDetails capitalPoolDetails) throws Exception;

    public Integer deleteCapitalPoolDetailsById(@Param(value = "id") String id) throws Exception;

}
